/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package szachy;
import java.io.Serializable;
import java.rmi.Naming;
/**
 *
 * @author Robert
 */
public class Serwer extends java.rmi.RemoteException implements Serializable{
    private static final long serialVersionUID = 1L;
       public static void main(String[] args) throws Exception {
       Gra G = new Gra();
       //dodanie figur
       G.RozstawFigury();
       Naming.rebind("Szachy",G);
       }
}
